import { Behaviour } from "../engine/Behaviour";
import { boolean } from "../engine/validators/boolean";

export class Display extends Behaviour {
    @boolean()
    IsActive = true;

    onStart() {
    }

    onTick(duringTime: number) {
        this.gameObject.active = this.IsActive;
    }

}